| ![]() |
Because WebDAV server running as ASP.NET web application in IIS cannot be run directly from Visual Studio with Run (F5) command, to debug the code you will have to attach the debugger to the running process of your WebDAV server. Follow the steps below to attach the debugger:
To debug applications on Windows Vista make sure Visual Studio have enough permissions for debugging applications. The simplest way is to run Visual Studio with administrative privileges:
A significant help in debugging could be provided by WebDAV Server logging features. All requests/responses and what is more important all exceptions are logged to the log file created by the engine. By default the log file is created in the folder where your exe or dll file resides. If you do not see the log file usually this means that there are not enough permissions for creating a file or requests does not reach the web server. See WebDAV Server Logging.